package cn.besbing.server.service.primary;

import cn.besbing.model.entities.primary.AssessView;
import cn.besbing.model.entities.primary.AssessViewExample;
import cn.besbing.model.mapper.primary.AssessViewMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AssessServiceImpl implements AssessViewMapper {

    @Autowired(required = false)
    private AssessViewMapper assessViewMapper;


    @Override
    public long countByExample(AssessViewExample example) {
        return assessViewMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(AssessViewExample example) {
        return assessViewMapper.deleteByExample(example);
    }

    @Override
    public int insert(AssessView record) {
        return assessViewMapper.insert(record);
    }

    @Override
    public int insertSelective(AssessView record) {
        return assessViewMapper.insertSelective(record);
    }

    @Override
    public List<AssessView> selectByExample(AssessViewExample example) {
        return assessViewMapper.selectByExample(example);
    }

    @Override
    public int updateByExampleSelective(AssessView record, AssessViewExample example) {
        return assessViewMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(AssessView record, AssessViewExample example) {
        return assessViewMapper.updateByExampleSelective(record, example);
    }
}
